<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<script src="../../boot.js"></script>
</head>

<body>
<select class="ipt" id="myComboGrid" ></select>

<a class="easyui-linkbutton" onclick="getValue();">获取值</a>
<script>
function parsePage(){
	$('#myComboGrid').combogrid({
		method:'get',
		panelWidth:350,
		mode:'remote',
		idField:'brandNo',
		textField:'itemname',
		url:'brand.json',
		onChange: function(newValue, oldValue){
			if(newValue.trim()!=""){
			//
			}
		},
		columns:[[
		{field:'brandNo',title:'编码',width:40},
		{field:'itemname',title:'名称',width:80}
		]]
	});
	
	$('#myComboGrid').combogrid('setValue','020002');
	
	
	
}

function getValue(){
	alert($('#myComboGrid').combogrid('getValue'));
}
</script>
</body>
</html>
